Activable

interface Activable

Interface for PilotingItf components that require activation.

An Activable PilotingItf component needs to be activated before most of its API can be operated (except stated otherwise in the component documentation. This mainly concerns settings APIs).

Only one Activable PilotingItf component may be active at a time when the drone is connected, and all drone provide a default component that is always activated when no other component is active anymore.

Inheritors

Types

Link copied to clipboard
enum State
Piloting interface state.

Functions

Link copied to clipboard
abstract fun deactivate(): Boolean
Deactivates this piloting interface.
Link copied to clipboard
Gets the piloting interface's current state.